package models

import "gorm.io/gorm"

type SmallCar struct {
	gorm.Model
	CarCode  string `gorm:"type:varchar(100)"`
	CarName  string `gorm:"type:varchar(100)"`
	CarPrice int    `gorm:"type:int"`
	CarNum   int    `gorm:"type:int"`
	Tid      int    `gorm:"type:int"`
}
type SmallType struct {
	gorm.Model
	TypeName string `gorm:"type:varchar(100)"`
	TypeTalk string `gorm:"type:varchar(100)"`
}
type SmallCarList struct {
	CarId    int    `gorm:"type:int"`
	CarCode  string `gorm:"type:varchar(100)"`
	CarName  string `gorm:"type:varchar(100)"`
	CarNum   int    `gorm:"type:int"`
	TypeName string `gorm:"type:varchar(100)"`
	TypeTalk string `gorm:"type:varchar(100)"`
}
